package generate.entity;

import cn.net.lwj.common.util.CreateNewKey;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @TableName t_xf_task
 */
@Table(name="t_xf_task")
@Entity
public class TXfTask implements Serializable {
    /**
     * 
     */
    @Id
    @TableId("C_ID")
    @Column(name = "C_ID")
    private String cId;

    /**
     * 
     */
    @Column(name = "C_XFBS")
    private String cXfbs;

    /**
     * 关联id,比如拉取进度信息时有可能会同时有多条记录
     */
    @Column(name = "C_GLID")
    private String cGlid;

    /**
     * 
     */
    @Column(name = "N_SJJD")
    private Integer nSjjd;

    /**
     * 
     */
    @Column(name = "N_SFCL")
    private Integer nSfcl;

    /**
     * 
     */
    @Column(name = "DT_CLSJ")
    private Date dtClsj;

    /**
     * 
     */
    @Column(name = "DT_TIMESTAMP")
    private Date dtTimestamp;

    private static final long serialVersionUID = 1L;

    public TXfTask() {
        this.cId = CreateNewKey.createId();
        this.dtTimestamp = new Date();
    }

    public TXfTask(String cXfbs, String cGlid, Integer nSjjd) {
        this.cXfbs = cXfbs;
        this.cGlid = cGlid;
        this.nSjjd = nSjjd;
        this.cId = CreateNewKey.createId();
        this.dtTimestamp = new Date();
    }
    /**
     * 
     */
    public String getcId() {
        return cId;
    }

    /**
     * 
     */
    public void setcId(String cId) {
        this.cId = cId;
    }

    /**
     * 
     */
    public String getcXfbs() {
        return cXfbs;
    }

    /**
     * 
     */
    public void setcXfbs(String cXfbs) {
        this.cXfbs = cXfbs;
    }

    /**
     * 关联id,比如拉取进度信息时有可能会同时有多条记录
     */
    public String getcGlid() {
        return cGlid;
    }

    /**
     * 关联id,比如拉取进度信息时有可能会同时有多条记录
     */
    public void setcGlid(String cGlid) {
        this.cGlid = cGlid;
    }

    /**
     * 
     */
    public Integer getnSjjd() {
        return nSjjd;
    }

    /**
     * 
     */
    public void setnSjjd(Integer nSjjd) {
        this.nSjjd = nSjjd;
    }

    /**
     * 
     */
    public Integer getnSfcl() {
        return nSfcl;
    }

    /**
     * 
     */
    public void setnSfcl(Integer nSfcl) {
        this.nSfcl = nSfcl;
    }

    /**
     * 
     */
    public Date getDtClsj() {
        return dtClsj;
    }

    /**
     * 
     */
    public void setDtClsj(Date dtClsj) {
        this.dtClsj = dtClsj;
    }

    /**
     * 
     */
    public Date getDtTimestamp() {
        return dtTimestamp;
    }

    /**
     * 
     */
    public void setDtTimestamp(Date dtTimestamp) {
        this.dtTimestamp = dtTimestamp;
    }
}